<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');

$browser = new CheckTestFunctional(new sfBrowser(), $t = new lime_test(3));

$browser->
  loadData()->
  info('1 - The homepage')->
  get('/')->
  with('request')->begin()->
    isParameter('module', 'default')->
    isParameter('action', 'dashboard')->
  end()->

  with('response')->begin()->
    info('  1.1 - Tags')->
    info('  1.1 - Non published todos are not listed')->
    checkElement('#todo div.ui-widget-header:contains("not published")', false)->
  end()
  ;
